﻿using System.Web.Mvc;

namespace Infrastructure.Mvc.SeedWork.Models.Message
{
    public class MessageModel
    {
        public MessageModel()
        {
            SafeMode = false;
            IsNeedBack = true;
        }

        public bool IsNeedBack { get; set; }

        public MessageType Type { get; set; }

        public string Title { get; set; }

        public MvcHtmlString Msg { get; set; }

        public string NextTitle { get; set; }

        public string NextUrl { get; set; }

        public string BackTitle { get; set; }

        public string BackUrl { get; set; }

        public bool SafeMode { get; set; }

        public dynamic Data { get; set; }
    }
}